package com.huawei.esdk.tp.domain.model.bean;

public class AuthorizeInfo
{
    private String userName;
    
    private String password;
    
    private String sessionId;
    
    private byte[] randomSequence;

    private String hashType;
    
    private int subSystem;
    
    private String desc;

    public String getUserName()
    {
        return userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getSessionId()
    {
        return sessionId;
    }

    public void setSessionId(String sessionId)
    {
        this.sessionId = sessionId;
    }

    public byte[] getRandomSequence()
    {
        if (null != randomSequence)
        {
            return randomSequence.clone();
        }
        else
        {
            return new byte[0];
        }
    }

    public void setRandomSequence(byte[] randomSequence)
    {
        if (null != randomSequence)
        {
            this.randomSequence = randomSequence.clone();
        }
    }

    public String getHashType()
    {
        return hashType;
    }

    public void setHashType(String hashType)
    {
        this.hashType = hashType;
    }

    public int getSubSystem()
    {
        return subSystem;
    }

    public void setSubSystem(int subSystem)
    {
        this.subSystem = subSystem;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }
}
